package ca.ualberta.cs.CLRDB.interfaces;

import java.sql.Connection;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;

import uk.ac.liv.c3connector.AnnotationModel;

public interface TagAccess extends EntityRelAccess {

	public void addTaggings(Collection<String> tags, Integer resourceId, Integer personId, int page, Date date, Statement statement) ;
	public int addTagging(String label, Integer resourceId, Integer personId, int page, Date date, Statement statement);
	public int addTagging(AnnotationModel am, String username);
	public ArrayList<String> findResourceTagsByURL(String url, Connection con);
	public ArrayList<String> findResourceTagsByDigestAndBib(String url, Connection con);
	public void addKeywords(Collection<String> keys, Integer bibtexId, Statement statement);
	public void addKeyword(String label, Integer bibtexId, Statement statement);
}
